<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style>
      html {
        width: 600px;
        height: 320px;
      }
      .pdf {
        width: 650px;
        height: 240px;
        padding: 16px;
        background-color: #ffffff;
        color: #777777;
        font-size: 12px;
      }
      .title {
        width: 100%;
        text-align: center;
        color: #333333;
        font-size: 14px;
        font-weight: bold;
      }
      .header {
        margin-bottom: 6px;
        overflow: hidden;
      }
      .content {
        width: 100%;
        border-top: #efefef solid 1px;
        border-left: #efefef solid 1px;
        border-right: #efefef solid 1px;
        color: #777777;
      }
      .row {
        width: 100%;
        border-bottom: #efefef solid 1px;
        overflow: hidden;
      }
      .col {
        width: 25%;
        float: left;
        overflow: hidden;
        line-height: 24px;
      }
      .colTitle {
        width: 132px;
        height: 24px;
        background-color: #eef2f5;
        line-height: 24px;
        text-align: center;
        float: left;
      }
      .footer {
        overflow: hidden;
        margin-top: 20px;
      }
    </style>
    <title>${title}</title>
  </head>

  <body style="font-family: SimSun; width: 650px; height: 240px">
    <div class="pdf">
      <div class="title">${title}</div>
      <div class="header">
        <div style="float: left">购买方入库单号： ${orderNum}</div>
        <div style="float: right; text-align: right;">
          购买方入库过磅日期：${createDate}
        </div>
      </div>
      <div class="content">
        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方名称</div>
            <div class="colContent" >
              <span style="margin-left: 6px">${buyerName}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">车牌号</div>
            <div class="colContent">
              <span style="margin-left: 6px">${plateNo}</span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col" style="width: 100%">
            <div class="colTitle">购买方货品名称</div>
            <div class="colContent">
              <span style="margin-left: 6px"> ${goodsName} </span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">司机姓名</div>
            <div class="colContent">
              <span style="margin-left: 6px">${driverName}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">司机联系方式</div>
            <div class="colContent">
              <span style="margin-left: 6px">${driverPhone}</span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">销售方名称</div>
            <div class="colContent">
              <span style="margin-left: 6px">${sellerName}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">销售方联系方式</div>
            <div class="colContent">
              <span style="margin-left: 6px">${sellerPhone}</span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方入库过磅单毛重</div>
            <div class="colContent">
              <span style="margin-left: 6px">${grossWeight}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方入库过磅单皮重</div>
            <div class="colContent">
              <span style="margin-left: 6px">${tareWeight}</span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方入库过磅单扣重</div>
            <div class="colContent">
              <span style="margin-left: 6px">${deductWeight}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方入库过磅单净重</div>
            <div class="colContent">
              <span style="margin-left: 6px">${netWeight}</span>
            </div>
          </div>
        </div>

        <div class="row">
          <div class="col" style="width: 50%">
            <div class="colTitle">购买方入库计量单位</div>
            <div class="colContent">
              <span style="margin-left: 6px">${sellerGoodsUnit}</span>
            </div>
          </div>
          <div class="col" style="width: 50%">
            <div class="colTitle">备注</div>
            <div class="colContent">
              <span style="margin-left: 6px"></span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
